package com.example.petshopping.ui.message.model;

public class Message {
    // 消息类型常量
    public static final int TYPE_SYSTEM = 1;      // 系统消息
    public static final int TYPE_NEW_PRODUCT = 2; // 新品开拍
    public static final int TYPE_NORMAL = 3;      // 普通消息

    private int id;              // 消息ID
    private int type;            // 消息类型
    private int icon;            // 图标资源ID
    private String title;        // 消息标题
    private String tag;          // 消息标签
    private String time;         // 消息时间
    private String content;      // 消息内容
    private int rightImage;      // 右侧图片资源ID
    private int badgeCount;      // 未读数量

    public Message() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getRightImage() {
        return rightImage;
    }

    public void setRightImage(int rightImage) {
        this.rightImage = rightImage;
    }

    public int getBadgeCount() {
        return badgeCount;
    }

    public void setBadgeCount(int badgeCount) {
        this.badgeCount = badgeCount;
    }
} 